package com.atguigu.junitl;

import com.atguigu.util.MyArrays;
import org.junit.jupiter.api.Test;

public class TestMyArrays2 {
    @Test
    public void test1(){
        int[] arr = {2,5,8,6,3};
        assert MyArrays.max(arr) == 8 : "查找最大值错误";
    }
}
